package com.group.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 新闻
 * 
 * @author zhaolei
 *
 */
public class News implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7976920601807516992L;

	private Long id;

	/**
	 * 新闻标题
	 */
	private String title;

	/**
	 * 新闻类型
	 */
	private String type;

	private Long userId;

	/**
	 * 作者名称
	 */
	private String userName;

	/**
	 * 新闻摘要
	 */
	private String brief;

	/**
	 * 链接名称
	 */
	private String linkName;

	/**
	 * 内容来源
	 */
	private String source;

	/**
	 * 列表图片
	 */
	private String fileId;

	/**
	 * 声明
	 */
	private String statement;

	/**
	 * 新闻详情
	 */
	private String content;

	/**
	 * 阅读量
	 */
	private Integer read;

	/**
	 * 真实阅读量
	 */
	private Integer realRead;

	/**
	 * 状态: 1 显示,0 不显示
	 */
	private Integer state;

	/**
	 * 板块id
	 */
	private Long boardId;

	/**
	 * 帖子描述
	 */
	private String topicDesc;
	
	/**
	 * 帖子是否精选
	 */
	private Integer topicSelect;
	
	/**
	 * 帖子是否分析
	 */
	private Integer topicAnalysis;

	/**
	 * 是否抓取
	 */
	private Integer isgrab;
	
	/**
	 * 是否是热门新闻
	 */
	private Integer isHot;

	/**
	 * 新闻自动增加阅读的类型 0 , 1 ,2
	 */
	private Integer specialType;

	/**
	 * 标签
	 */
	private List<Tag> tags = new ArrayList<>();

	/**
	 * 币的标签
	 */
	private List<TickerTag> tickerTags = new ArrayList<>();

	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getBrief() {
		return brief;
	}

	public void setBrief(String brief) {
		this.brief = brief;
	}

	public String getLinkName() {
		return linkName;
	}

	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getStatement() {
		return statement;
	}

	public void setStatement(String statement) {
		this.statement = statement;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public List<Tag> getTags() {
		return tags;
	}

	public void setTags(List<Tag> tags) {
		this.tags = tags;
	}

	public Integer getRead() {
		return read;
	}

	public void setRead(Integer read) {
		this.read = read;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getIsgrab() {
		return isgrab;
	}

	public void setIsgrab(Integer isgrab) {
		this.isgrab = isgrab;
	}

	public Integer getRealRead() {
		return realRead;
	}

	public void setRealRead(Integer realRead) {
		this.realRead = realRead;
	}

	public Integer getSpecialType() {
		return specialType;
	}

	public void setSpecialType(Integer specialType) {
		this.specialType = specialType;
	}

	public List<TickerTag> getTickerTags() {
		return tickerTags;
	}

	public void setTickerTags(List<TickerTag> tickerTags) {
		this.tickerTags = tickerTags;
	}

	public Long getBoardId() {
		return boardId;
	}

	public void setBoardId(Long boardId) {
		this.boardId = boardId;
	}

	public String getTopicDesc() {
		return topicDesc;
	}

	public void setTopicDesc(String topicDesc) {
		this.topicDesc = topicDesc;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getTopicSelect() {
		return topicSelect;
	}

	public void setTopicSelect(Integer topicSelect) {
		this.topicSelect = topicSelect;
	}

	public Integer getTopicAnalysis() {
		return topicAnalysis;
	}

	public void setTopicAnalysis(Integer topicAnalysis) {
		this.topicAnalysis = topicAnalysis;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

}
